package demo;

public class Card {
    //牌的花色
    public String suit;
    //牌数
    public int num;
    //构造方法
    public Card(String suit,int num) {
        this.suit = suit;
        this.num = num;
    }
    //打印方法
    public String  toString() {
        return suit + "" + num;
    }
}
